package com.shaomengjie.smjmvp.retrofit.servers.servercore;

import com.shaomengjie.smjmvp.bean.UserBean;

import retrofit2.http.POST;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Created by shaomengjie on 2017/4/7.
 * pdsshaomengjie@live.com
 */

public interface API {
    @POST("/api/appAccount/login")
    Observable<UserBean> requestLogin(@Query("username") String username,@Query("password") String password);

}
